/* The house faces on the web page: text in STIX Two Text, as in the PDF and
   the figures, and headings and navigation in Lato. They hold over any
   Bootstrap theme, and a project's own css loads after this file, so its
   rules win. Google serves Lato without a Semibold, so headings take Lato
   Bold where the PDF takes Semibold. Code keeps the theme's monospace face and
   mathematics MathJax's own. */
@import url("https://fonts.googleapis.com/css2?family=STIX+Two+Text:ital,wght@0,400..700;1,400..700&family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap");

/* Bootstrap sets body text from the variable; `theme: none` has no Bootstrap,
   so `body` is set as well. Litera sets `p` in Georgia by name. Setting `p`
   to inherit returns paragraphs to `body`, where a project's own rule on
   `body` also reaches them. */
:root {
  --bs-body-font-family: "STIX Two Text", Georgia, serif;
}
body {
  font-family: "STIX Two Text", Georgia, serif;
}
p {
  font-family: inherit;
}

/* Plain element and class selectors, so that a project's rule of the same
   strength, loaded later, wins. The title is an h1, and the table of contents
   sits in a sidebar unless a project moves it into the body. */
h1, h2, h3, h4, h5, h6,
.subtitle,
.navbar,
.sidebar {
  font-family: Lato, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}
